<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>DocBuilder - YUIDoc</title>
    <link rel="stylesheet" href="https://yui-s.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
    <link rel="icon" href="../assets/favicon.ico">
    <script src="https://yui-s.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script>
</head>
<body class="yui3-skin-sam">

<div id="doc">
    <div id="hd" class="yui3-g header">
        <div class="yui3-u-3-4">
                <h1><img src="../assets/css/logo.png" title="YUIDoc" width="117" height="52"></h1>
        </div>
        <div class="yui3-u-1-4 version">
            <em>API Docs for: 0.10.0</em>
        </div>
    </div>
    <div id="bd" class="yui3-g">

        <div class="yui3-u-1-4">
            <div id="docs-sidebar" class="sidebar apidocs">
                <div id="api-list">
                    <h2 class="off-left">APIs</h2>
                    <div id="api-tabview" class="tabview">
                        <ul class="tabs">
                            <li><a href="#api-classes">Classes</a></li>
                            <li><a href="#api-modules">Modules</a></li>
                        </ul>
                
                        <div id="api-tabview-filter">
                            <input type="search" id="api-filter" placeholder="Type to filter APIs">
                        </div>
                
                        <div id="api-tabview-panel">
                            <ul id="api-classes" class="apis classes">
                                <li><a href="../classes/CLI.html">CLI</a></li>
                                <li><a href="../classes/DocBuilder.html">DocBuilder</a></li>
                                <li><a href="../classes/DocParser.html">DocParser</a></li>
                                <li><a href="../classes/DocView.html">DocView</a></li>
                                <li><a href="../classes/Files.html">Files</a></li>
                                <li><a href="../classes/Help.html">Help</a></li>
                                <li><a href="../classes/Main.html">Main</a></li>
                                <li><a href="../classes/Options.html">Options</a></li>
                                <li><a href="../classes/Server.html">Server</a></li>
                                <li><a href="../classes/Utils.html">Utils</a></li>
                                <li><a href="../classes/YUIDoc.html">YUIDoc</a></li>
                            </ul>
                
                
                            <ul id="api-modules" class="apis modules">
                                <li><a href="../modules/yuidoc.html">yuidoc</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="yui3-u-3-4">
                <div id="api-options">
                    Show:
                    <label for="api-show-inherited">
                        <input type="checkbox" id="api-show-inherited" checked>
                        Inherited
                    </label>
            
                    <label for="api-show-protected">
                        <input type="checkbox" id="api-show-protected">
                        Protected
                    </label>
            
                    <label for="api-show-private">
                        <input type="checkbox" id="api-show-private">
                        Private
                    </label>
                    <label for="api-show-deprecated">
                        <input type="checkbox" id="api-show-deprecated">
                        Deprecated
                    </label>
            
                </div>
            
            <div class="apidocs">
                <div id="docs-main">
                    <div class="content">
<h1>DocBuilder Class</h1>
<div class="box meta">


        <div class="foundat">
            Defined in: <a href="../files/lib_builder.js.html#l15"><code>lib&#x2F;builder.js:15</code></a>
        </div>

            Module: <a href="../modules/yuidoc.html">yuidoc</a>

</div>


<div class="box intro">
    <p>Takes the <code>JSON</code> data from the <code>DocParser</code> class, creates and parses markdown and handlebars
based templates to generate static HTML content</p>

</div>


<div id="classdocs" class="tabview">
    <ul class="api-class-tabs">
        <li class="api-class-tab index"><a href="#index">Index</a></li>

            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
    </ul>

    <div>
        <div id="index" class="api-class-tabpanel index">
            <h2 class="off-left">Item Index</h2>

                <div class="index-section methods">
                    <h3>Methods</h3>

                    <ul class="index-list methods">
                            <li class="index-item method">
                                <a href="#method__addHelpers">_addHelpers</a>

                            </li>
                            <li class="index-item method private">
                                <a href="#method__inlineCode">_inlineCode</a>

                            </li>
                            <li class="index-item method private">
                                <a href="#method__mixExternal">_mixExternal</a>

                            </li>
                            <li class="index-item method private">
                                <a href="#method__parseCode">_parseCode</a>

                            </li>
                            <li class="index-item method private">
                                <a href="#method__parseCrossLink">_parseCrossLink</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_addFoundAt">addFoundAt</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_augmentData">augmentData</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_compile">compile</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_filterFileName">filterFileName</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_getProjectMeta">getProjectMeta</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_hasProperty">hasProperty</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_makeDirs">makeDirs</a>

                            </li>
                            <li class="index-item method private">
                                <a href="#method_markdown">markdown</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_mergeExtends">mergeExtends</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_mixExternal">mixExternal</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_nameSort">nameSort</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_populateClasses">populateClasses</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_populateElements">populateElements</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_populateFiles">populateFiles</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_populateModules">populateModules</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_render">render</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_renderAPIMeta">renderAPIMeta</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_renderClass">renderClass</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_renderElement">renderElement</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_renderFile">renderFile</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_renderIndex">renderIndex</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_renderModule">renderModule</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_writeAPIMeta">writeAPIMeta</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_writeComponents">writeComponents</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_writeFiles">writeFiles</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_writeIndex">writeIndex</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_writeModules">writeModules</a>

                            </li>
                    </ul>
                </div>

                <div class="index-section properties">
                    <h3>Properties</h3>

                    <ul class="index-list properties">
                            <li class="index-item property private">
                                <a href="#property__mergeCounter">_mergeCounter</a>

                            </li>
                            <li class="index-item property private">
                                <a href="#property__meta">_meta</a>

                            </li>
                            <li class="index-item property">
                                <a href="#property_files">files</a>

                            </li>
                    </ul>
                </div>


        </div>

            <div id="methods" class="api-class-tabpanel">
                <h2 class="off-left">Methods</h2>

<div id="method__addHelpers" class="method item">
    <h3 class="name"><code>_addHelpers</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>helpers</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l126"><code>lib&#x2F;builder.js:126</code></a>
        </p>



    </div>

    <div class="description">
        <p>Register a <code>Y.Handlebars</code> helper method</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">helpers</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>Object containing a hash of names and functions</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method__inlineCode" class="method item private">
    <h3 class="name"><code>_inlineCode</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>html</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type">HTML</span>
        </span>


        <span class="flag private">private</span>





    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l768"><code>lib&#x2F;builder.js:768</code></a>
        </p>



    </div>

    <div class="description">
        <p>Ported from <a href="https://github.com/rgrove/selleck">Selleck</a>, this handles <code>&#x60;</code>'s in fields
that are not parsed by the <strong>Markdown</strong> parser.</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">html</code>
                        <span class="type">HTML</span>


                    <div class="param-description">
                        <p>The HTML to parse</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type">HTML</span>:
                    <p>The parsed HTML</p>

            </div>
        </div>


</div>
<div id="method__mixExternal" class="method item private">
    <h3 class="name"><code>_mixExternal</code></h3>

        <span class="paren">()</span>



        <span class="flag private">private</span>





    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l297"><code>lib&#x2F;builder.js:297</code></a>
        </p>



    </div>

    <div class="description">
        <p>Mixes the various external data soures together into the local data, augmenting
it with flags.</p>

    </div>




</div>
<div id="method__parseCode" class="method item private">
    <h3 class="name"><code>_parseCode</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>html</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type">HTML</span>
        </span>


        <span class="flag private">private</span>





    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l755"><code>lib&#x2F;builder.js:755</code></a>
        </p>



    </div>

    <div class="description">
        <p>Parses <code>&lt;pre&gt;&lt;code&gt;</code> tags and adds the <strong>prettyprint</strong> <code>className</code> to them</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">html</code>
                        <span class="type">HTML</span>


                    <div class="param-description">
                        <p>The HTML to parse</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type">HTML</span>:
                    <p>The parsed HTML</p>

            </div>
        </div>


</div>
<div id="method__parseCrossLink" class="method item private">
    <h3 class="name"><code>_parseCrossLink</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>item</code>
                </li>
                <li class="arg">
                        <code class="optional">[raw=false]</code>
                </li>
                <li class="arg">
                        <code class="optional">[content]</code>
                </li>
            </ul><span class="paren">)</span>
        </div>



        <span class="flag private">private</span>





    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l169"><code>lib&#x2F;builder.js:169</code></a>
        </p>



    </div>

    <div class="description">
        <p>Parse the item to be cross linked and return an HREF linked to the item</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">item</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>The item to crossLink</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name optional">[raw=false]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>


                    <div class="param-description">
                        <p>Do not wrap it in HTML</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name optional">[content]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>


                    <div class="param-description">
                        <p>crossLink helper content</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_addFoundAt" class="method item">
    <h3 class="name"><code>addFoundAt</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>a</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l626"><code>lib&#x2F;builder.js:626</code></a>
        </p>



    </div>

    <div class="description">
        <p>Parses file and line number from an item object and build's an HREF</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">a</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>The item to parse</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    <p>The parsed HREF</p>

            </div>
        </div>


</div>
<div id="method_augmentData" class="method item">
    <h3 class="name"><code>augmentData</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>o</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l642"><code>lib&#x2F;builder.js:642</code></a>
        </p>



    </div>

    <div class="description">
        <p>Augments the <strong>DocParser</strong> meta data to provide default values for certain keys as well as parses all descriptions
with the <code>Markdown Parser</code></p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">o</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>The object to recurse and augment</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>:
                    <p>The augmented object</p>

            </div>
        </div>


</div>
<div id="method_compile" class="method item">
    <h3 class="name"><code>compile</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1738"><code>lib&#x2F;builder.js:1738</code></a>
        </p>



    </div>

    <div class="description">
        <p>Compiles the templates from the meta-data provided by DocParser</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type">Callback</span>


                    <div class="param-description">
                        <p>The callback to execute after it's completed</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_filterFileName" class="method item">
    <h3 class="name"><code>filterFileName</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>f</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1725"><code>lib&#x2F;builder.js:1725</code></a>
        </p>



    </div>

    <div class="description">
        <p>Normalizes a file path to a writable filename:</p>
<p>var path = 'lib/file.js';
returns 'lib_file.js';</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">f</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>The filename to normalize</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    <p>The filtered file path</p>

            </div>
        </div>


</div>
<div id="method_getProjectMeta" class="method item">
    <h3 class="name"><code>getProjectMeta</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l434"><code>lib&#x2F;builder.js:434</code></a>
        </p>



    </div>

    <div class="description">
        <p>Prep the meta data to be fed to Selleck</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>:
                    <p>The project metadata</p>

            </div>
        </div>


</div>
<div id="method_hasProperty" class="method item">
    <h3 class="name"><code>hasProperty</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>a</code>
                </li>
                <li class="arg">
                        <code>b</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type"></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1056"><code>lib&#x2F;builder.js:1056</code></a>
        </p>



    </div>

    <div class="description">
        <p>Checks an array of items (class items) to see if an item is in that list</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">a</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external external" target="_blank">Array</a></span>


                    <div class="param-description">
                        <p>The Array of items to check</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">b</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>The object to find</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                    <p>Boolean</p>

            </div>
        </div>


</div>
<div id="method_makeDirs" class="method item">
    <h3 class="name"><code>makeDirs</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l702"><code>lib&#x2F;builder.js:702</code></a>
        </p>



    </div>

    <div class="description">
        <p>Makes the default directories needed</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type">Callback</span>


                    <div class="param-description">
                        <p>The callback to execute after it's completed</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_markdown" class="method item private">
    <h3 class="name"><code>markdown</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>data</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type">HTML</span>
        </span>


        <span class="flag private">private</span>





    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l144"><code>lib&#x2F;builder.js:144</code></a>
        </p>



    </div>

    <div class="description">
        <p>Wrapper around the Markdown parser so it can be normalized or even side stepped</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">data</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>The Markdown string to parse</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type">HTML</span>:
                    <p>The rendered HTML</p>

            </div>
        </div>


</div>
<div id="method_mergeExtends" class="method item">
    <h3 class="name"><code>mergeExtends</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>info</code>
                </li>
                <li class="arg">
                        <code>classItems</code>
                </li>
                <li class="arg">
                        <code>first</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1080"><code>lib&#x2F;builder.js:1080</code></a>
        </p>



    </div>

    <div class="description">
        <p>Merge superclass data into a child class</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">info</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>The item to extend</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">classItems</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array" class="crosslink external external" target="_blank">Array</a></span>


                    <div class="param-description">
                        <p>The list of items to merge in</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">first</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>


                    <div class="param-description">
                        <p>Set for the first call</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_mixExternal" class="method item">
    <h3 class="name"><code>mixExternal</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>







        <span class="flag async">async</span>

    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l345"><code>lib&#x2F;builder.js:345</code></a>
        </p>



    </div>

    <div class="description">
        <p>Fetches the remote data and fires the callback when it's all complete</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type">Callback</span>


                    <div class="param-description">
                        <p>The callback to execute when complete</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_nameSort" class="method item">
    <h3 class="name"><code>nameSort</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>a</code>
                </li>
                <li class="arg">
                        <code>b</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type"><a href="http://yuilibrary.com/yui/docs/api/classes/Number.html" class="crosslink external" target="_blank">Number</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1546"><code>lib&#x2F;builder.js:1546</code></a>
        </p>



    </div>

    <div class="description">
        <p>Sort method of array of objects with a property called <strong>name</strong></p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">a</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>First object to compare</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">b</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>Second object to compare</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="http://yuilibrary.com/yui/docs/api/classes/Number.html" class="crosslink external" target="_blank">Number</a></span>:
                    <p>1, -1 or 0 for sorting.</p>

            </div>
        </div>


</div>
<div id="method_populateClasses" class="method item">
    <h3 class="name"><code>populateClasses</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>opts</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l477"><code>lib&#x2F;builder.js:477</code></a>
        </p>



    </div>

    <div class="description">
        <p>Populate the meta data for classes</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">opts</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>The original options</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>:
                    <p>The modified options</p>

            </div>
        </div>


</div>
<div id="method_populateElements" class="method item">
    <h3 class="name"><code>populateElements</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>opts</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l501"><code>lib&#x2F;builder.js:501</code></a>
        </p>



    </div>

    <div class="description">
        <p>Populate the meta data for elements</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">opts</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>The original options</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>:
                    <p>The modified options</p>

            </div>
        </div>


</div>
<div id="method_populateFiles" class="method item">
    <h3 class="name"><code>populateFiles</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>opts</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l569"><code>lib&#x2F;builder.js:569</code></a>
        </p>



    </div>

    <div class="description">
        <p>Populate the meta data for files</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">opts</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>The original options</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>:
                    <p>The modified options</p>

            </div>
        </div>


</div>
<div id="method_populateModules" class="method item">
    <h3 class="name"><code>populateModules</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>opts</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l523"><code>lib&#x2F;builder.js:523</code></a>
        </p>



    </div>

    <div class="description">
        <p>Populate the meta data for modules</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">opts</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>The original options</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>:
                    <p>The modified options</p>

            </div>
        </div>


</div>
<div id="method_render" class="method item">
    <h3 class="name"><code>render</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>source</code>
                </li>
                <li class="arg">
                        <code>view</code>
                </li>
                <li class="arg">
                        <code class="optional">[layout=null]</code>
                </li>
                <li class="arg">
                        <code class="optional">[partials={}]</code>
                </li>
                <li class="arg">
                        <code>callback</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l787"><code>lib&#x2F;builder.js:787</code></a>
        </p>



    </div>

    <div class="description">
        <p>Ported from <a href="https://github.com/rgrove/selleck">Selleck</a>
Renders the handlebars templates with the default View class.</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">source</code>
                        <span class="type">HTML</span>


                    <div class="param-description">
                        <p>The default template to parse</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">view</code>
                        <span class="type">Class</span>


                    <div class="param-description">
                        <p>The default view handler</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name optional">[layout=null]</code>
                        <span class="type">HTML</span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>


                    <div class="param-description">
                        <p>The HTML from the layout to use.</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name optional">[partials={}]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>


                    <div class="param-description">
                        <p>List of partials to include in this template</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">callback</code>
                        <span class="type">Callback</span>


                    <div class="param-description">
                         
                    </div>

                        <ul class="params-list">
                            <li class="param">
                                    <code class="param-name">err</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error" class="crosslink external" target="_blank">Error</a></span>

                                <div class="param-description">
                                    
                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name">html</code>
                                    <span class="type">HTML</span>

                                <div class="param-description">
                                    <p>The assembled template markup</p>

                                </div>

                            </li>
                        </ul>
                </li>
            </ul>
        </div>



</div>
<div id="method_renderAPIMeta" class="method item">
    <h3 class="name"><code>renderAPIMeta</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>







        <span class="flag async">async</span>

    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1691"><code>lib&#x2F;builder.js:1691</code></a>
        </p>



    </div>

    <div class="description">
        <p>Render the API meta and return the JavaScript</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type">Callback</span>


                    <div class="param-description">
                        <p>The callback</p>

                    </div>

                        <ul class="params-list">
                            <li class="param">
                                    <code class="param-name">apijs</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

                                <div class="param-description">
                                    <p>The JavaScript code to write API meta data</p>

                                </div>

                            </li>
                        </ul>
                </li>
            </ul>
        </div>



</div>
<div id="method_renderClass" class="method item">
    <h3 class="name"><code>renderClass</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1132"><code>lib&#x2F;builder.js:1132</code></a>
        </p>



    </div>

    <div class="description">
        <p>Render the class file</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>


                    <div class="param-description">
                        <p>The callback fired when complete</p>

                    </div>

                        <ul class="params-list">
                            <li class="param">
                                    <code class="param-name">html</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

                                <div class="param-description">
                                    <p>The HTML to render this view</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name">view</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>

                                <div class="param-description">
                                    <p>The View Data</p>

                                </div>

                            </li>
                        </ul>
                </li>
            </ul>
        </div>



</div>
<div id="method_renderElement" class="method item">
    <h3 class="name"><code>renderElement</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1425"><code>lib&#x2F;builder.js:1425</code></a>
        </p>



    </div>

    <div class="description">
        <p>Render the element file</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>


                    <div class="param-description">
                        <p>The callback fired when complete</p>

                    </div>

                        <ul class="params-list">
                            <li class="param">
                                    <code class="param-name">html</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

                                <div class="param-description">
                                    <p>The HTML to render this view</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name">view</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>

                                <div class="param-description">
                                    <p>The View Data</p>

                                </div>

                            </li>
                        </ul>
                </li>
            </ul>
        </div>



</div>
<div id="method_renderFile" class="method item">
    <h3 class="name"><code>renderFile</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1619"><code>lib&#x2F;builder.js:1619</code></a>
        </p>



    </div>

    <div class="description">
        <p>Render the source file</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>


                    <div class="param-description">
                        <p>The callback fired when complete</p>

                    </div>

                        <ul class="params-list">
                            <li class="param">
                                    <code class="param-name">html</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

                                <div class="param-description">
                                    <p>The HTML to render this view</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name">view</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>

                                <div class="param-description">
                                    <p>The View Data</p>

                                </div>

                            </li>
                        </ul>
                </li>
            </ul>
        </div>



</div>
<div id="method_renderIndex" class="method item">
    <h3 class="name"><code>renderIndex</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l843"><code>lib&#x2F;builder.js:843</code></a>
        </p>



    </div>

    <div class="description">
        <p>Render the index file</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>


                    <div class="param-description">
                        <p>The callback fired when complete</p>

                    </div>

                        <ul class="params-list">
                            <li class="param">
                                    <code class="param-name">html</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

                                <div class="param-description">
                                    <p>The HTML to render this view</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name">view</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>

                                <div class="param-description">
                                    <p>The View Data</p>

                                </div>

                            </li>
                        </ul>
                </li>
            </ul>
        </div>



</div>
<div id="method_renderModule" class="method item">
    <h3 class="name"><code>renderModule</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l905"><code>lib&#x2F;builder.js:905</code></a>
        </p>



    </div>

    <div class="description">
        <p>Render a module</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>


                    <div class="param-description">
                        <p>The callback fired when complete</p>

                    </div>

                        <ul class="params-list">
                            <li class="param">
                                    <code class="param-name">html</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

                                <div class="param-description">
                                    <p>The HTML to render this view</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name">view</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>

                                <div class="param-description">
                                    <p>The View Data</p>

                                </div>

                            </li>
                        </ul>
                </li>
            </ul>
        </div>



</div>
<div id="method_writeAPIMeta" class="method item">
    <h3 class="name"><code>writeAPIMeta</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>







        <span class="flag async">async</span>

    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1678"><code>lib&#x2F;builder.js:1678</code></a>
        </p>



    </div>

    <div class="description">
        <p>Write the API meta data used for the AutoComplete widget</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type">Callback</span>


                    <div class="param-description">
                        <p>The callback to execute when complete</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_writeComponents" class="method item">
    <h3 class="name"><code>writeComponents</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>type</code>
                </li>
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1502"><code>lib&#x2F;builder.js:1502</code></a>
        </p>



    </div>

    <div class="description">
        <p>Generates the class or element files under &quot;out&quot;/classes/ or &quot;out&quot;/elements/</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>The component type, &quot;classes&quot; or &quot;elements&quot;</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type">Callback</span>


                    <div class="param-description">
                        <p>The callback to execute after it's completed</p>

                    </div>

                        <ul class="params-list">
                            <li class="param">
                                    <code class="param-name">html</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

                                <div class="param-description">
                                    <p>The HTML to write class view</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name">view</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>

                                <div class="param-description">
                                    <p>The View Data</p>

                                </div>

                            </li>
                        </ul>
                </li>
            </ul>
        </div>



</div>
<div id="method_writeFiles" class="method item">
    <h3 class="name"><code>writeFiles</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1569"><code>lib&#x2F;builder.js:1569</code></a>
        </p>



    </div>

    <div class="description">
        <p>Generates the syntax files under <code>&quot;out&quot;/files/</code></p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type">Callback</span>


                    <div class="param-description">
                        <p>The callback to execute after it's completed</p>

                    </div>

                        <ul class="params-list">
                            <li class="param">
                                    <code class="param-name">html</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

                                <div class="param-description">
                                    <p>The HTML to write file view</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name">view</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>

                                <div class="param-description">
                                    <p>The View Data</p>

                                </div>

                            </li>
                        </ul>
                </li>
            </ul>
        </div>



</div>
<div id="method_writeIndex" class="method item">
    <h3 class="name"><code>writeIndex</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l879"><code>lib&#x2F;builder.js:879</code></a>
        </p>



    </div>

    <div class="description">
        <p>Generates the index.html file</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type">Callback</span>


                    <div class="param-description">
                        <p>The callback to execute after it's completed</p>

                    </div>

                        <ul class="params-list">
                            <li class="param">
                                    <code class="param-name">html</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

                                <div class="param-description">
                                    <p>The HTML to write index view</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name">view</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>

                                <div class="param-description">
                                    <p>The View Data</p>

                                </div>

                            </li>
                        </ul>
                </li>
            </ul>
        </div>



</div>
<div id="method_writeModules" class="method item">
    <h3 class="name"><code>writeModules</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>cb</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1013"><code>lib&#x2F;builder.js:1013</code></a>
        </p>



    </div>

    <div class="description">
        <p>Generates the module files under &quot;out&quot;/modules/</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">cb</code>
                        <span class="type">Callback</span>


                    <div class="param-description">
                        <p>The callback to execute after it's completed</p>

                    </div>

                        <ul class="params-list">
                            <li class="param">
                                    <code class="param-name">html</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

                                <div class="param-description">
                                    <p>The HTML to write module view</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name">view</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>

                                <div class="param-description">
                                    <p>The View Data</p>

                                </div>

                            </li>
                        </ul>
                </li>
            </ul>
        </div>



</div>
            </div>

            <div id="properties" class="api-class-tabpanel">
                <h2 class="off-left">Properties</h2>

<div id="property__mergeCounter" class="property item private">
    <h3 class="name"><code>_mergeCounter</code></h3>
    <span class="type"><a href="http://yuilibrary.com/yui/docs/api/classes/Number.html" class="crosslink external" target="_blank">Number</a></span>


        <span class="flag private">private</span>



    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l1073"><code>lib&#x2F;builder.js:1073</code></a>
        </p>


    </div>

    <div class="description">
        <p>Counter for stepping into merges</p>

    </div>



</div>
<div id="property__meta" class="property item private">
    <h3 class="name"><code>_meta</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object" class="crosslink external external" target="_blank">Object</a></span>


        <span class="flag private">private</span>



    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l427"><code>lib&#x2F;builder.js:427</code></a>
        </p>


    </div>

    <div class="description">
        <p>Holder for project meta data</p>

    </div>



</div>
<div id="property_files" class="property item">
    <h3 class="name"><code>files</code></h3>
    <span class="type"><a href="http://yuilibrary.com/yui/docs/api/classes/Number.html" class="crosslink external" target="_blank">Number</a></span>





    <div class="meta">
                <p>
                Defined in
        <a href="../files/lib_builder.js.html#l421"><code>lib&#x2F;builder.js:421</code></a>
        </p>


    </div>

    <div class="description">
        <p>File counter</p>

    </div>



</div>
            </div>


    </div>
</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script>prettyPrint();</script>
<script src="../assets/js/yui-prettify.js"></script>
<script src="../assets/../api.js"></script>
<script src="../assets/js/api-filter.js"></script>
<script src="../assets/js/api-list.js"></script>
<script src="../assets/js/api-search.js"></script>
<script src="../assets/js/apidocs.js"></script>
</body>
</html>
